package cate.game.role.pvp.throne.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTB;
import cate.game.pvp.throne.data.ko.TBKoCurBet;
import cate.game.role.RoleSimpleBase;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "竞猜开始 の 通知")
public class TBBetInfoNotice implements MsgOutput {

    @NoteField("A方简要数据")
    public RoleSimpleBase a;

    @NoteField("B方简要数据")
    public RoleSimpleBase b;


    public TBBetInfoNotice() {
    }

    public TBBetInfoNotice(TBKoCurBet curBet) {
        this.a = curBet.a.snapshot.base;
        this.b = curBet.b.snapshot.base;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBTB.BET_NOTICE;
    }
}
